package com.hison.domian.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @ClassName: AliyunProperties
 * @Descripiton: TODO
 * @Author: 小郑
 * @Date： 2024/1/13 20:05
 * @Version：1.8
 **/
@Data
@ConfigurationProperties(prefix = "aliyun")
@Component
public class AliyunProperties implements Serializable {

    /**
     * 阿里云地域端点
     */

    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;

    /**
     * 存储空间名称
     */
    private String bucketName;
    /**
     * Bucket域名，访问文件时作为URL前缀
     */
    private String bucketDomain;


}